SearchTables Function

Syntax

C SearchTables()

Description

Allows you to search for a value in all tables.

Discussion

The SearchTables() function displays the Search Selected Tables for Data Value dialog box. This dialog allows you to discover the names of the tables and of their fields that contain a specified value.

In the example illustrated below, the dialog found that the phrase "Cali Pressureless Racquetballs" was found in the Description field of the New_Products and Product tables. To find tables and fields:

1.

Enter the value into the Value to search for control.

2.

Select the data type of the value from the Data type of search value list. The options are:

"Character"
"Numeric"
"Logical"
"Time"

for fields that have both date and time values

"Date"

for fields that have only date values

"Short time"

for fields that have only time values

3.

Select whether to search:

All tables
Selected tables
4.

Select whether to stop when:

The first match is found
When all matches found
5.

Click Start Search.

6.

Close Close to exit the dialog box.

images/UG_SearchTables().gif

See Also